package com.healthtop.service;

import com.healthtop.dto.XsRoleResourceDto;
import com.healthtop.model.XsRoleResource;

import java.util.List;

public interface XsRoleResourceService {

    void save(XsRoleResource roleResource);

    List<XsRoleResource> selectByRoleId(Long roleId);

    List<XsRoleResource> selectByResourceId(Long resourceId);

    void deleteByRoleId(Long roleId);

    void deleteByResourceId(Long resourceId);

    void submitRoleResource(XsRoleResourceDto roleResourceDto);

}
